﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="popup.aspx.cs" Inherits="Com.Web.coffinegurunaru.home.popup" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>커핀그루나루</title>
<link rel="StyleSheet" href="/css/style.css" type="text/css" />
<script language="javascript" src="/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script language="javascript" src="/js/coffine.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
<% if (this.PopupInfo.PopupType == 1) { %>
<div>
<img src="<%=PopupInfo.ImageURL %>" />
</div>
<% } else { %>
<%=PopupInfo.HTML%>
<% } %>
<% if (this.PopupInfo.IsCookie == 1) { %>
<table style='width:100%; height:40px; background-color:#eeeeee; text-align:right;'><tr><td><input type='checkbox' id="m_Cookie" /> 하루동안 창을 열지 않습니다.</td></tr></table>
<script language="javascript" type="text/javascript">
$(function() {
	$("#m_Cookie").click(function() {
		$.Cookie.SetCookie_Oneday("Popup_<%=PopupInfo.SeqNo %>", 1);
		self.close();
	});
});
</script>
<% } %>
    </form>
</body>
</html>
